Skip to content

Comments

feat: mapping a subject to its debug or display string representation#77

Merged
haraldmaida merged 1 commit intomainfrom
feat/map-to-debug-or-display-string
Feb 20, 2026
Merged

feat: mapping a subject to its debug or display string representation#77
haraldmaida merged 1 commit intomainfrom
feat/map-to-debug-or-display-string

Conversation

@haraldmaida
Copy link
Member

Adds possibility to map a subject to its debug or display string representation to do assertions on that string.

Example:

assert_that!(error).display_string().contains("is not valid")

@haraldmaida haraldmaida self-assigned this Feb 20, 2026
@haraldmaida haraldmaida added the enhancement New feature or request label Feb 20, 2026
@codecov
Copy link

codecov bot commented Feb 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.81%. Comparing base (cc1205a) to head (e141282).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #77      +/-   ##
==========================================
+ Coverage   93.73%   93.81%   +0.07%     
==========================================
  Files          32       33       +1     
  Lines        4579     4589      +10     
  Branches     4579     4589      +10     
==========================================
+ Hits         4292     4305      +13     
+ Misses        247      244       -3     
  Partials       40       40              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@haraldmaida haraldmaida merged commit 872c922 into main Feb 20, 2026
20 checks passed
@haraldmaida haraldmaida deleted the feat/map-to-debug-or-display-string branch February 20, 2026 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant